Repository navigation
Resolve DevPanel CLI revision through authenticated Git - #323
Merged
Merged
Conversation
Co-authored-by: darrenoh <2293701+darrenoh@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions job 'Check cached DevPanel CLI revision'
Resolve DevPanel CLI revision through authenticated Git
Nov 12, 2026
darrenoh
marked this pull request as ready for review
November 12, 2026 05:00
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The review identifies no active issues in the change to authenticated Git-based revision lookup.
No open issues 🎉
What changed in this PR
This PR replaces the DevPanel CLI updater’s failing GitLab API revision lookup with authenticated Git access, allowing revision checks without API permissions.
Changes:
- Resolve the upstream default-branch SHA using
git ls-remotebefore checking the revision cache. - Validate
GITLAB_USERand use it withGITLAB_TOKENfor Git authentication. - Update documentation and task tracking to require only repository-read access.
| File | Description |
|---|---|
| TODO.md | Updates credential requirements and records the revision-lookup fix. |
| README.md | Documents authenticated Git lookup and removes the API-access requirement. |
| AGENTS.md | Aligns workflow guidance with Git-based revision resolution. |
| .github/workflows/update-devpanel-cli.yml | Replaces the API request with authenticated git ls-remote and validates the username. |
Review effort: Balanced
darrenoh
approved these changes
Nov 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The updater’s “Check cached DevPanel CLI revision” job failed when GitLab’s commits API returned HTTP 404, before checking the cache.
git ls-remote:GITLAB_USERandGITLAB_TOKENwith repository-read access; the updater no longer requires GitLab API access.